package com.multitrack.datatype;

import java.io.Serializable;

import android.location.Location;

public class MemberGPS implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2281429709055197L;
	private String member_id;
	private GPSList log;

	public MemberGPS() {
		this.log = new GPSList();
	}

	public MemberGPS(String member_id, GPSList log) {
		this.member_id = member_id;
		this.log = log;
	}

	public boolean add(GPS gps) {
		return log.add(gps);
	}

	public void setId(String member_id) {
		this.member_id = member_id;
	}

	public String getId() {
		return this.member_id;
	}

	public GPSList getGpsList() {
		return log;
	}

	public void setGpsList(GPSList gpsList) {
		this.log = gpsList;
	}

	public int size() {
		return this.log.size();
	}

	public GPS get(int index) {
		return log.get(index);
	}
}
